<?php

						 
class htmlmodule {
	function name() { return "Inline HTML Module" ;}
	function author() { return 'ABSOFT Viet Nam, Inc'; }
	function description() { return "Let you insert any HTML" ;}
	
	function hasContent() { return false; }
	function hasSources() { return false; }
	function hasViews()   { return true;  }
	
	function supportsWorkflow() { return false; }
	
	function permissions($internal = "") {
		return array(
						'administrate'=>'Administrate',
						'configure'=>'Configure',
						'manage'=>'Manage'
					);
	}
	function deleteIn($loc) {
		// Do nothing, no content
	}
	
	function copyContent($from_loc,$to_loc) {
		// Do nothing, no content
	}
	
	
	function spiderContent($item = null) {
		// Do nothing, no content
		return false;
	}
	
	function show($view,$loc = null,$title = "") 
	{
		$template = new template('htmlmodule',$view,$loc);
		$template->assign("title",$title);
		$template->output();
	}
 
	}

?>
